package cn.txm.order.service;

import cn.txm.basic.service.IBaseService;
import cn.txm.basic.util.AjaxResult;
import cn.txm.order.domain.AdoptOrder;
import cn.txm.pay.domain.PayBill;

public interface IAdoptOrderService extends IBaseService<AdoptOrder>{
    /**
     * 前台用户》提交宠物领养订单
     * @param adoptOrder
     * @return
     */
    AjaxResult submitAdoptOrder(AdoptOrder adoptOrder);

    /**
     * 取消订单
     * @param adoptOrder
     * @param payBill
     */
    void cancelOrder(AdoptOrder adoptOrder, PayBill payBill);
}
